package com.learn.ssm.pojo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * projectName: com.learn.ssm.pojo
 *
 * description: 任务实体类
 */
@Data
public class Schedule {

    private Integer id;

    @NotBlank
    private String title;

    @NotNull
    private Boolean completed;
}
